package com.heima.test1;

public class TV extends Elc{
    private String tvType;
    private String capacity;

    public TV() {
    }

    public TV(String brand, String model, String color, String price, String tvType, String capacity) {
        super(brand, model, color, price);
        this.tvType = tvType;
        this.capacity = capacity;
    }

    public String getTvType() {
        return tvType;
    }

    public void setTvType(String tvType) {
        this.tvType = tvType;
    }

    public String getCapacity() {
        return capacity;
    }

    public void setCapacity(String capacity) {
        this.capacity = capacity;
    }
}
